{% if env == 'pagure-staging' %}
cert = /etc/pki/tls/certs/stg.pagure.io.cert
key = /etc/pki/tls/private/stg.pagure.io.key
{% else %}
cert = /etc/pki/tls/certs/pagure.io.cert
key = /etc/pki/tls/private/pagure.io.key
{% endif %}
pid = /var/run/stunnel.pid

[{{ stunnel_service }}]
sslVersion = all
options = NO_SSLv3
accept = {{ stunnel_source_port }}
connect = {{ stunnel_destination_port }}
